// 接口处理
const db = require('../db/index')

exports.regUser = (res, req) => {
    db.query('SELECT * FROM market.router_product_list', (err, result) => {
        if (err) return console.log(err.message)
        res.send({
            status: 200,
            data: result,
            message: '请求成功'
        })
    })
}